package com.athena.crm.domain.bo;

import com.athena.common.core.validate.AddGroup;
import com.athena.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.athena.common.core.domain.BaseEntity;

/**
 * CRM客户公海业务对象 crm_customer_high_seas
 *
 * @author ruoyi
 * @date 2023-09-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class CrmCustomerHighSeasBo extends BaseEntity {

    private String ids;
    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 前负责人
     */
    @NotBlank(message = "前负责人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String formerHead;

    /**
     * 前所属部门
     */
    @NotBlank(message = "前所属部门不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long formerDeptId;

    /**
     * 客户名称
     */
    @NotBlank(message = "客户名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 公司名称
     */
    @NotBlank(message = "公司名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String companyName;

    /**
     * 客户类型
     */
    @NotBlank(message = "客户类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;

    /**
     * 联系人
     */
    @NotBlank(message = "联系人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contacts;

    /**
     * 实际跟进记录
     */
    @NotNull(message = "实际跟进记录不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date realityFollowRecords;

    /**
     * 最新跟进记录
     */
    @NotBlank(message = "最新跟进记录不能为空", groups = { AddGroup.class, EditGroup.class })
    private String latestFollowRecords;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
